package cn.yup.query;

import java.math.BigDecimal;

public class SampleQueryObject extends QueryObject{
    private String sampleNum;
    private String voyageNum;
    private BigDecimal position_X_Min;
    private BigDecimal position_X_Max;
    private BigDecimal position_Y_Min;
    private BigDecimal position_Y_Max;

    public String getSampleNum() {
        return sampleNum;
    }

    public void setSampleNum(String sampleNum) {
        this.sampleNum = sampleNum;
    }

    public String getVoyageNum() {
        return voyageNum;
    }

    public void setVoyageNum(String voyageNum) {
        this.voyageNum = voyageNum;
    }

    public BigDecimal getPosition_X_Min() {
        return position_X_Min;
    }

    public void setPosition_X_Min(BigDecimal position_X_Min) {
        this.position_X_Min = position_X_Min;
    }

    public BigDecimal getPosition_X_Max() {
        return position_X_Max;
    }

    public void setPosition_X_Max(BigDecimal position_X_Max) {
        this.position_X_Max = position_X_Max;
    }

    public BigDecimal getPosition_Y_Min() {
        return position_Y_Min;
    }

    public void setPosition_Y_Min(BigDecimal position_Y_Min) {
        this.position_Y_Min = position_Y_Min;
    }

    public BigDecimal getPosition_Y_Max() {
        return position_Y_Max;
    }

    public void setPosition_Y_Max(BigDecimal position_Y_Max) {
        this.position_Y_Max = position_Y_Max;
    }

    @Override
    public String toString() {
        return "SampleQueryObject{" +
                "sampleNum='" + sampleNum + '\'' +
                ", voyageNum='" + voyageNum + '\'' +
                ", position_X_Min=" + position_X_Min +
                ", position_X_Max=" + position_X_Max +
                ", position_Y_Min=" + position_Y_Min +
                ", position_Y_Max=" + position_Y_Max +
                '}';
    }

    public SampleQueryObject(String sampleNum, String voyageNum, BigDecimal position_X_Min, BigDecimal position_X_Max, BigDecimal position_Y_Min, BigDecimal position_Y_Max) {
        this.sampleNum = sampleNum;
        this.voyageNum = voyageNum;
        this.position_X_Min = position_X_Min;
        this.position_X_Max = position_X_Max;
        this.position_Y_Min = position_Y_Min;
        this.position_Y_Max = position_Y_Max;
    }

    public SampleQueryObject() {
    }
}
